﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KL.Store.Core.Domain;
using TN.Data;

namespace KL.Store.Data
{
    public class dbWishList
    {
        //#region Get

        //public static WishList Get(int UserId, long ListId)
        //{
        //    IList<WishList> objectList = new List<WishList>();
        //    SqlHelper.FillList(dbParameters.dsnStore, "SPR_ESTORE_WishList_Get", objectList, new object[] { UserId, ListId });

        //    return objectList.FirstOrDefault();
        //}

        //#endregion

        //#region Update

        //public static void Update(int UserId, long ListId, string ListName, string Explanation, string FirstName, string LastName, string Email, string Phone, string Address_Name,
        //                          string Address_Phone, short Address_City, short Address_County, string Address, string ListUrl, bool DeliveryByReceive, string DeliveryDate,
        //                          string ListPass, bool Published, bool Voucher, bool Delegate, string Delegate_FirstName, string Delegate_LastName, string Delegate_Phone,
        //                          string Delegate_Email, int UpdateUser)
        //{
        //    SqlHelper.ExecuteNonQuery(dbParameters.dsnStore, "SPR_ESTORE_WishList_Update", new object[] { UserId, ListId, ListName, Explanation, FirstName, LastName, Email,
        //                              Phone, Address_Name, Address_Phone, Address_City, Address_County, Address, ListUrl, DeliveryByReceive, DeliveryDate, ListPass,
        //                              Published, Voucher, Delegate, Delegate_FirstName, Delegate_LastName, Delegate_Phone, Delegate_Email, UpdateUser });
        //}

        //#endregion

        //#region ProductWishList

        //public static IList<ProductWishList> ProductWishList(int UserId, int ProductId)
        //{
        //    IList<ProductWishList> objectList = new List<ProductWishList>();
        //    SqlHelper.FillList(dbParameters.dsnStore, "SPR_ESTORE_WishList_Product", objectList, new object[] { UserId, ProductId });

        //    return objectList;
        //}

        //#endregion
    }
}
